package com.mt.channel.mapper;

import java.util.List;
import java.util.Map;

import com.mt.channel.entity.ChannelAdminEntity;

public interface ChannelAdminEntityMapper {
    int deleteByPrimaryKey(Integer channelAdminId);

    int insert(ChannelAdminEntity record);

    List<ChannelAdminEntity> selectList(Map<String, Object> params);

    ChannelAdminEntity selectByPrimaryKey(Map<String, Object> params);

    int updateByPrimaryKeySelective(ChannelAdminEntity record);

    /**
     * 根据主键进行逻辑删除
     * @param channelAdminId
     * @return
     */
    int updateByPrimaryKey(Integer channelAdminId);

}